package com.qclix.inv.dao;

import com.qclix.inv.Contract;

import java.util.Calendar;
import java.util.List;

/**
 * @author Pierre Moermans
 */
public interface ContractDAO {
    List<Contract> getAllContracts();
    List<Contract> getClientContracts(long clientId);
    Contract getInvoiceContract(String invoiceNumber);
    void save(Contract contract);

    List<Contract> getActiveContract(Calendar cal);

    Contract getContract(String reference);
}
